﻿@*@model IEnumerable<ContentDisplayModel>


@if (!Model.Any())
{
    <div class="text-center mt-3">暂无任何数据</div>
}
else
{
    <ul class="list-unstyled">

        @foreach (var item in Model)
        {
            <li class="border-bottom mb-3">
                <div class="float-left">
                    <h5><a asp-page="./Detail" asp-route-id="@item.Id">@item.Subject</a></h5>
                    <ul class="list-inline mt-3 text-muted text-sm">
                        <li class="list-inline-item"><i class="fa fa-eye"></i> @item.VisitNum</li>
                        <li class="list-inline-item"><i class="fa fa-comments"></i> @item.CommentCount</li>
                    </ul>
                </div>
                <div class="float-right">
                    <span class="badge badge-info">@item.HumanTime</span>
                </div>
                <div class="clearfix"></div>
            </li>
        }
    </ul>
}*@